package com.geekhole.demo.user.application;

import com.geekhole.demo.user.domain.CreateAndEnableUserContext;
import com.geekhole.demo.user.domain.ModifyUserNameContext;
import org.springframework.transaction.annotation.Transactional;

public interface UserApplication {
    @Transactional(readOnly = false)
    void createAndEnableUser(CreateAndEnableUserContext context);

    @Transactional(readOnly = false)
    void modifyUserName(ModifyUserNameContext context);
}
